package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

/**
 * ClassName:WmSensitiveService
 * Package:com.heima.wemedia.service
 * Description:
 *
 * @Author: zongyu
 * @Create: 2024/3/13 - 15:44
 */
public interface WmSensitiveService {
    /**
     * 删除敏感词
     * @param id
     * @return
     */
    public ResponseResult delete(Integer id);

    /**
     * 查询敏感词
     * @param dto
     * @return
     */

    ResponseResult list(SensitiveDto dto);

    /**
     * 新增敏感词
     * @param wmSensitive
     * @return
     */

    ResponseResult insert(WmSensitive wmSensitive);

    /**
     * 修改敏感词
     * @param wmSensitive
     * @return
     */
    ResponseResult update(WmSensitive wmSensitive);
}
